class CreateTerminalInfo < ActiveRecord::Migration
  def change
  	create_table :terminal_infos do |t|
  	  t.integer   "terminal_id"
      t.string    "soft_version"
      t.string    "hardware_version"
      t.integer   "duration"
      t.string    "wan_3g"
      t.string    "ssid"
      t.integer   "online_users"
      t.integer   "sign_users"
      t.integer   "watching_users"
      t.integer   "limited_bandwidth"
      t.integer   "max_bandwidth"
      t.datetime  "ft3g_start"
      t.datetime  "ft3g_end"
      t.string    "xindao"
      t.string    "wifi_model"
      t.string    "encrypt"
      t.integer   "group_id"
      t.timestamps
    end
    remove_column :terminals, :mac
    add_column :terminal_orders, :terminal_id, :integer
  end
end
